home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d14 / cmdp70s.arc / CP_QUEST.CR$ (.txt) < prev    next >
Cardfile Document  |  1991-03-09  |  5KB  |  130 lines

  1. ----------------------------------------
  2.  @@ Questions and Answers
  3. ........................................
  4. This file contains a list of answers for the most frequently asked questions.  You may be able to find the answer to your question in this file.
  5.  
  6. In any case, our Tech Support number is
  7. (206) 937-9335.   Good Luck
  8. ----------------------------------------
  9. ----------------------------------------
  10. Change the  CmdPost  window title
  11. ........................................
  12. Select MAIN menu item.
  13. Select Reset Options....
  14.  
  15. Then choose the Windows Titles selection.  You will be prompted for the titles of two Command Post windows.  The names of the windows MUST BE DIFFERENT!!!
  16. ----------------------------------------
  17. ----------------------------------------
  18. Change the PATH for DOS apps
  19. ........................................
  20. If you need to run a old DOS application with a "different path", a simple batch file has been supplied to assist you in doing this.  Instead of having zillions of little BAT files around, a simgle one will do.  See the file CP_VIRT.BAT in your installation directory.  It can set a path, run a program and pass some parameters.
  21. ----------------------------------------
  22. ----------------------------------------
  23. Close a bunch of windows #1
  24. ........................................
  25. Usually to close a mass of windows, you use either the WinCloseNot function, or a series of WinClose functions.  However, if a lot of them then prompt you for the "Data Changed do you want to save" sort of stuff, it is easy to become confused as to what you are responding to....SO, as usual we offer an example of how to do this.
  26. ----------------------------------------
  27. ----------------------------------------
  28. Close a bunch of windows #2
  29. ........................................
  30. Assume there are LOTS of notepad windows open and you want to close them ALL...in an orderly fashion.
  31.  
  32. Repeat the code block in the #3 card once for each notepad you may wish to close.  It is OK to repeat it more times than you have notepads open...
  33. ----------------------------------------
  34. ----------------------------------------
  35. Close a bunch of windows #3
  36. ........................................
  37.  &Close Notepads
  38.    Terminate(!WinExist("Notepad"),"","")
  39.    WinActivate("Notepad")
  40.    a=WinGetActive()
  41.    WinClose("Notepad")
  42.    WinWaitClose(a)
  43.    ;and repeating...
  44.    Terminate(!WinExist(.....
  45. ----------------------------------------
  46. ----------------------------------------
  47. Closed CmdPost, Still in Windows!!???
  48. ........................................
  49. A "feature" of the new Command Post, when it is the primary shell in WIN3 (via the shell= in system.ini) is that the CmdPost window may be closed without exiting Windows.  This allows ALL of the shell memory to be freed if you need it.  When you close the last window, you will exit Windows.  Use the Exit Windows command to terminate Windows immediately.
  50. ----------------------------------------
  51. ----------------------------------------
  52. HotKey {F10} does not work
  53. ........................................
  54. The F10 function key is, as far as Windows is concerned, the same as the ALT key.  As such, you cannot use the F10 key for any sort of Hotkey.
  55. ----------------------------------------
  56. ----------------------------------------
  57. How to get back taskmanager/tasklist
  58. ........................................
  59. If either thru an old install program, or thru user modification, the tasklist is gone, the probable solution is to find TASKMANG.EXE in the Windows directory, and rename it to
  60. TASKMAN.EXE
  61.  
  62. If on a NETWORK, remove occurrances of
  63. TASKMAN.EXE except in the network windows directory.
  64.  
  65. ----------------------------------------
  66. ----------------------------------------
  67. How to size the startup CmdPost window
  68. ........................................
  69.  
  70. 1) Set the CmdPost window just where you want it.
  71.  
  72. 2) Under the MAIN menu item, select Reset Options.One of the options will allow you to save the startup position.
  73. ----------------------------------------
  74. ----------------------------------------
  75. How-2-Make a DirChange "stick"
  76. ........................................
  77. Executing a DirChange command in a CmdPost menu does not affect the display UNTIL a SetDisplay command is executed.  The SetDisplay command makes the DirChange stick so that the display is updated.  Example:
  78.  
  79. &SubDirs
  80.  &Windows Dir
  81.         DirChange("C:\WINDOWS")
  82.         SetDisplay("","","")
  83.  
  84. ----------------------------------------
  85. ----------------------------------------
  86. Initialization Failure Error
  87. ........................................
  88. Command Post starts up, has initialization failure error. to fix:
  89. Edit win.ini file 
  90.  
  91. CMDPOST.EXE will be on both the
  92.  
  93. run= 
  94. and 
  95. load= 
  96.  
  97. line.  Remove one reference.
  98. ----------------------------------------
  99. ----------------------------------------
  100. Run= and Load= in WIN.INI no work #1
  101. ........................................
  102. When Command Post is the primary shell (as defined in the system.ini file) the run= and load= lines in the win.ini file are IGNORED.  The reasoning here is that anything you want started up should be in the CMDUSER.CPM (or the CMDPOST.CPM) files with the other auto-initialize stuff.
  103.  
  104. See the next card for sample code.
  105. ----------------------------------------
  106. ----------------------------------------
  107. Run= and Load= in WIN.INI no work #2
  108. ........................................
  109. Sample code.  Instead of using the run= and load= statements in the win.ini file, add something like the following to the top of your cmduser.cpm file:
  110.  
  111.      Terminate(IsRunning(),"","")
  112.      RunIcon("this.exe","")
  113.      Run("that.exe","")
  114. ----------------------------------------
  115. ----------------------------------------
  116. Taskman.exe does not work
  117. ........................................
  118. If you are using a version of the Command Post tasklist prior to 7.0R, you must copy the TASKMANR.EXE from the 7.0R version over the currently active copy TASKMAN.EXE
  119.  
  120. Certain optimizations necessitate using the new version of the Task List for proper operation.
  121. ----------------------------------------
  122. ----------------------------------------
  123. Translate xxx.exe @^.^ @^.BAK
  124. ........................................
  125. One tricky translation from the old menu language to the new one is the translation of lines with only the root of the filename used.  The above translates to...
  126.    File=CurrentFile()
  127.    Root=FileRoot(File)
  128.    Run("xxx.exe","%File% %Root%.BAK")
  129. ----------------------------------------
  130.